Feature: Delete published post

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 35.688s

Scenario: Delete a published post successfully

Before 0m 1.140s
Given I navigate to page "<URL>" 0m 4.633s
And I enter email "<ADMIN_EMAIL>" 0m 1.279s
And I enter password "<ADMIN_PASSWORD>" 0m 0.691s
And I click on the login button 0m 0.790s
And I wait for 2 seconds 0m 3.691s
When I click on the new post button 0m 0.915s
And I wait for 2 seconds 0m 2.258s
And I write "Mi nuevo post para eliminar" in the post title 0m 0.896s
And I publish the new post 0m 2.043s
And I wait for 2 seconds 0m 2.270s
And I return to the posts list 0m 1.181s
And I wait for 2 seconds 0m 2.280s
And I filter posts by status Published 0m 1.398s
And I wait for 1 seconds 0m 1.286s
And I click in the first post in the list 0m 0.336s
And I wait for 2 seconds 0m 2.263s
And I open the post settings 0m 0.348s
And I delete the post 0m 0.797s
And I wait for 2 seconds 0m 2.260s
And I filter posts by status Published 0m 0.395s
And I wait for 2 seconds 0m 2.274s
Then I see that there is no post with the title "Mi nuevo post para eliminar" in the post list 0m 0.261s
After 0m 0.003s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "<URL>"
And I enter email "<ADMIN_EMAIL>"
And I enter password "<ADMIN_PASSWORD>"
And I click on the login button
And I wait for 2 seconds
When I click on the new post button
And I wait for 2 seconds
And I write "Mi nuevo post para eliminar" in the post title
And I publish the new post
And I wait for 2 seconds
And I return to the posts list
And I wait for 2 seconds
And I filter posts by status Published
And I wait for 1 seconds
And I click in the first post in the list
And I wait for 2 seconds
And I open the post settings
And I delete the post
And I wait for 2 seconds
And I filter posts by status Published
And I wait for 2 seconds
Then I see that there is no post with the title "Mi nuevo post para eliminar" in the post list
After
NO IMAGE AVAILABLE